PopupMaker\Controllers\RestAPI S

Total Complexity 45
Dependencies 7
Dependents 1
Total lines 727
Lines of code 447
Logical lines of code 192
Comment lines 195
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
register_cta_rest_fields()
A
35 6 105
register_pro_upgrader_routes()
S
38 3 90
ajax_check_license_status()
S
51 6 24
validate_call_to_action_settings()
S
53 6 22
register_popup_rest_fields()
S
41 2 70
rest_pre_dispatch()
S
54 5 22
rest_install_pro()
S
49 3 32
rest_verify_connection()
S
59 2 15
rest_get_connect_info()
S
62 2 12
rest_validate_license()
S
65 2 9
register_data_version_field()
S
61 1 13
init()
S
63 1 10
register_routes()
S
73 1 5
register_v2_controllers()
S
70 1 6
rest_pro_upgrade_permissions()
S
80 1 3
sanitize_popup_settings()
S
82 1 3
validate_popup_settings()
S
82 1 3
sanitize_call_to_action_settings()
S
82 1 3